package com.mall.interface1.api;

import com.mall.domain.SmsHomeAdvertise;
import com.mall.vo.SmsHomePageBeanVo;

public interface SmsHomeAdvertiseServiceApi {

    //分页条件查询
    SmsHomePageBeanVo findByPage(String endTime, String name, Integer pageNum, Integer pageSize, Integer type);

    void addCreate(SmsHomeAdvertise smsHomeAdvertise);

    void delete(Long id);

    void updateStatus(Long id, Integer status);

    void updateAdvertise(SmsHomeAdvertise advertise, Long id);

    SmsHomeAdvertise findById(Long id);
}
